package cn.webrx;
public class Ex3 {
    public static void main(String[] args) {
        int a = Integer.valueOf(args[0]);
        int b = Integer.valueOf(args[1]);
        if (a % b == 0) {
            System.out.printf("%2d ÷ %2d = %d", a, b, a / b);
        }else{
            System.out.printf("%2d ÷ %2d = %d ... %d", a, b, a / b,a%b);
        }
    }
}
